package com.amoby.main.mapper;

import com.amoby.main.entity.Channel;

public interface ChannelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Channel record);

    int insertSelective(Channel record);

    Channel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Channel record);

    int updateByPrimaryKey(Channel record);

    Channel getChannelByUserId(Integer userId); //根据userId查询渠道
}